'''
统计文章数目
'''
from wordcloud import WordCloud
import json

articles_num=0
for vol_num in range(1,45):
    filename="OL_VOL{}.json".format(vol_num)
    with open(filename,encoding='utf-8') as obj:
        articles=json.load(obj)
        articles_num+=len(articles)
        
print('共%d篇。'%articles_num)

input('任意键结束！')